import http from '@/utils/request'
import { base } from '@/config'
const baseUrl = base.finance + '/recharge'

// 企业主积分充值日志模块
const recharge = {
  // 查询列表
  list: params => {
    return http.get(`${baseUrl}/list`, params)
  },

  // 充值
  recharge: data => {
    return http.postJson(`${baseUrl}/recharge`, data)
  }
}

export default recharge
